package com.zc.iotDevice.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 故障报修对象 charge_fault
 * 
 * @author glb
 * @date 2023-08-28
 */
public class ChargeFault extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long deviceFaultId;

    /** 场站编号 */
    @Excel(name = "场站编号")
    private String chargeStationCode;

    private String chargeStationName;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String deviceCode;

    private String deviceName;

    private String portId;

    private String portName;

    /** 关联订单号 */
    @Excel(name = "关联订单号")
    private String orderInfoCode;

    /** 客户编号 */
    @Excel(name = "客户编号")
    private String customCode;

    private String customName;

    /** 用户手机号 */
    @Excel(name = "用户手机号")
    private String customPhone;

    /** 处理状态 */
    @Excel(name = "处理状态")
    private String handleStatus;

    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date handleTime;

    /** 故障标签 */
    @Excel(name = "故障标签")
    private String faultLabel;

    /** 内容 */
    @Excel(name = "内容")
    private String faultContent;

    /** 照片 */
    @Excel(name = "照片")
    private String faultPhoto;

    /** 备注 */
    @Excel(name = "备注")
    private String faultRemark;

    public String getPortId() {
        return portId;
    }

    public void setPortId(String portId) {
        this.portId = portId;
    }

    public String getPortName() {
        return portName;
    }

    public void setPortName(String portName) {
        this.portName = portName;
    }

    public String getChargeStationName() {
        return chargeStationName;
    }

    public void setChargeStationName(String chargeStationName) {
        this.chargeStationName = chargeStationName;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getCustomName() {
        return customName;
    }

    public void setCustomName(String customName) {
        this.customName = customName;
    }

    public void setDeviceFaultId(Long deviceFaultId)
    {
        this.deviceFaultId = deviceFaultId;
    }

    public Long getDeviceFaultId() 
    {
        return deviceFaultId;
    }
    public void setChargeStationCode(String chargeStationCode) 
    {
        this.chargeStationCode = chargeStationCode;
    }

    public String getChargeStationCode() 
    {
        return chargeStationCode;
    }
    public void setDeviceCode(String deviceCode) 
    {
        this.deviceCode = deviceCode;
    }

    public String getDeviceCode() 
    {
        return deviceCode;
    }
    public void setOrderInfoCode(String orderInfoCode) 
    {
        this.orderInfoCode = orderInfoCode;
    }

    public String getOrderInfoCode() 
    {
        return orderInfoCode;
    }
    public void setCustomCode(String customCode) 
    {
        this.customCode = customCode;
    }

    public String getCustomCode() 
    {
        return customCode;
    }
    public void setCustomPhone(String customPhone) 
    {
        this.customPhone = customPhone;
    }

    public String getCustomPhone() 
    {
        return customPhone;
    }
    public void setHandleStatus(String handleStatus) 
    {
        this.handleStatus = handleStatus;
    }

    public String getHandleStatus() 
    {
        return handleStatus;
    }
    public void setHandleTime(Date handleTime) 
    {
        this.handleTime = handleTime;
    }

    public Date getHandleTime() 
    {
        return handleTime;
    }
    public void setFaultLabel(String faultLabel) 
    {
        this.faultLabel = faultLabel;
    }

    public String getFaultLabel() 
    {
        return faultLabel;
    }
    public void setFaultContent(String faultContent) 
    {
        this.faultContent = faultContent;
    }

    public String getFaultContent() 
    {
        return faultContent;
    }
    public void setFaultPhoto(String faultPhoto) 
    {
        this.faultPhoto = faultPhoto;
    }

    public String getFaultPhoto() 
    {
        return faultPhoto;
    }
    public void setFaultRemark(String faultRemark) 
    {
        this.faultRemark = faultRemark;
    }

    public String getFaultRemark() 
    {
        return faultRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deviceFaultId", getDeviceFaultId())
            .append("chargeStationCode", getChargeStationCode())
            .append("deviceCode", getDeviceCode())
            .append("orderInfoCode", getOrderInfoCode())
            .append("customCode", getCustomCode())
            .append("customPhone", getCustomPhone())
            .append("createTime", getCreateTime())
            .append("handleStatus", getHandleStatus())
            .append("handleTime", getHandleTime())
            .append("faultLabel", getFaultLabel())
            .append("faultContent", getFaultContent())
            .append("faultPhoto", getFaultPhoto())
            .append("faultRemark", getFaultRemark())
            .toString();
    }
}
